Voltage-current converting circuit having an output switching function

ABSTRACT

A voltage-current converting circuit having an output switching function, comprises an operational amplifier having a non-inverting input connected to an input terminal, a resistor having one end connected to a reference potential line and the other end connected to an inverting input of the operational amplifier, first and second PNP transistors having commonly connected emitters connected to the inverting input of the operational amplifier, and an electronic switch for alternatively connecting an output of the operational amplifier to either a base of the first transistor or a base of the second transistor. With this arrangement, a current output is supplied from a collector of the transistor receiving the output of the operational amplifier through the electronic switch.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to a circuit for converting an electric voltage into an electric current, and more specifically to a current output circuit in a voltage-current converting circuit which uses an operational amplifier.

2. Description of Related Art

One typical example of conventional voltage-current converting circuits using an operational amplifier has been combined with a current switch. The voltage-current converting circuit includes an operational amplifier having a non-inverting input connected to receive an input voltage, a voltage-current converting transistor having a base connected to an output of the operational amplifier, and a pair of current switching transistors connected in series to the converting transistor, so that a current is outputted from a selected one of the pair of current switching transistors. With this arrangement, regardless of which of the pair of current switching transistors is selected, the output current flows in series through the voltage-current converting transistor and the selected one of the pair of current switching transistors. As result, the output current of the conventional voltage-current converting circuit is greatly influenced by a current amplification factor of the voltage-current converting transistor and a current amplification factor of the current switching transistors in the form of multiplication. Therefore, the conventional voltage-current converting circuit has a large error caused by variation of the current amplification factors. In order to depress the error caused by the current amplification factors, if each of the voltage-current converting transistor and the current switching transistors is put in the form of a Darlington connection, three transistors have to be added.

SUMMARY OF THE INVENTION

Accordingly, it is an object of the present invention to provide a voltage-current converting circuit which has overcome the above mentioned defect of the conventional one.

Another object of the present invention is to provide a voltage-current converting circuit having a current switching function, which circuit is composed of a small number of elements and has a high degree of conversion precision.

The above and other objects of the present invention are achieved in accordance with the present invention by a voltage-current converting circuit having an output switching function, comprising an operational amplifier having a non-inverting input connected to an input terminal, a resistor having one end connected to a reference potential line and the other end connected to an inverting input of the operational amplifier, first and second transistors of the same conduction type having commonly connected emitters connected to the inverting input of the operational amplifier, and an electronic switch for alternatively supplying an output of the operational amplifier to either a base of the first transistor or a base of the second transistor, so that a collector of the transistor receiving the output of the operational amplifier through the electronic switch supplies a current output.

The above and other objects, features and advantages of the present invention will be apparent from the following description of preferred embodiments of the invention with reference to the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a circuit diagram of a basic construction of the voltage-current converting circuit in accordance with the present invention;

FIG. 2 is a circuit diagram of a first embodiment of the voltage-current converting circuit in accordance with the present invention; and

FIG. 3 is a circuit diagram of a second embodiment of the voltage-current converting circuit in accordance with the present invention.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

Referring to FIG. 1, there is shown a circuit diagram of a basic construction of the voltage-current converting circuit in accordance with the present invention.

The shown voltage-current converting circuit includes an operational amplifier 10 having a non-inverting input connected to an input terminal 12 to which an input voltage Vin is supplied. A resistor R₁ is connected between an inverting input of the operational amplifier 10 and a ground. The shown voltage-current converting circuit also includes a pair of PNP transistors Q₁ and Q₂ having commonly connected emitters connected to the resistor R₁ and the inverting input of the operational amplifier 10. An output of the operational amplifier is selectively connected through an electronic switch SW₁ to either a base of the PNP transistor Q₁ or a base of the PNP transistors Q₂. A collector of each of the PNP transistors Q₁ and Q₂ form a current output.

With the above mentioned arrangement, a current corresponding to a value obtained by dividing the input voltage Vin by a resistance R of the resistor R₁ is outputted from the collector of the PNP transistor Q₁ or the collector of the PNP transistor Q₂, in accordance with a position of the electronic switch SW₁. Regardless of which of the PNP transistors Q₁ and Q₂ is selected, an emitter-base of the selected transistor is put in a feedback loop constituted of the operational amplifier 10 and the selected transistor. Accordingly, if the voltage gain of the operational amplifier 10 is sufficiently sufficient large, the non-inverting input and the inverting input of the operational amplifier 10 will become a substantially equal potential to each other. Therefore, a current I_(R) flowing through the resistor R₁ will take a value expressed as follows: ##EQU1##

Therefore, assuming that an emitter grounded current amplification factor of each of the PNP transistors Q₁ and Q₂ is β, collector currents IO1 and IO2 of the PNP transistors Q₁ and Q₂, which form a final current output stage, can be expressed as follows. ##EQU2##

Here, if the factor β is sufficiently larger than 1, the equation (2) can be modified as follows: ##EQU3##

If influence of the factor β in the equation (2) is a problem, each of the transistors Q₁ and Q₂ can be replaced by a Darlington structure or a field effect transistor.

Turning to FIG. 2, there is shown an embodiment of the voltage-current converting circuit in accordance with the present invention, in which the electronic switch SW₁ is composed of an actual electronic circuit. In FIG. 2, elements similar to those shown in FIG. 1 are given the same Reference Numerals and Letters, and explanation thereof will be omitted.

The switch SW₁ of the circuit shown in FIG. 1 is constituted of a constant current source I₁ having an input connected to a high voltage Vcc and an output connected to the base of the transistor Q₁, a diode D1 having an anode connected to the base of the transistor Q₁ and a cathode connected to the output of the operational amplifier 10, a resistor R₂ connected between the base of the transistor Q₂ and the output of the operational amplifier 10, and a third PNP transistor Q₃ having an emitter connected to the high voltage Vcc, a collector connected to the base of the transistor Q₂ and a base connected to receive a control voltage Vc.

By controlling the base potential Vc of the transistor Q₃, the switch composed of the elements I₁, D₁, R₂ and Q₃ exerts a function equivalent to the switch SW₁ shown in FIG. 1. Namely, if the base potential Vc of the transistor Q₃ is controlled to turn off the transistor Q₃, the base potential of the transistor Q₁ is rendered higher than the base potential of the transistor Q₂, so that the transistor Q₂ is activated or turned on and the transistor Q₁ is turned off. In this condition, the input voltage Vin is converted into a current by the operational amplifier 10, the resistor R₁ and the transistor Q₂, so that the current I_(O2) is outputted from the collector of the transistor Q₂. On the other hand, if the base potential Vc of the transistor Q₃ is controlled to turn on the transistor Q₃, the base potential of the transistor Q₁ is rendered lower than the base potential of the transistor Q₂, so that the transistor Q₁ is activated or turned on and the transistor Q₂ is turned off. In this condition, the input voltage Vin is converted into a current by the operational amplifier 10, the resistor R₁ and the transistor Q₁ , so that the current I_(O1) is outputted from the collector of the transistor Q₁.

Referring to FIG. 3, there is shown a circuit diagram of a second embodiment of the voltage-current converting circuit in accordance with the present invention. In FIG. 3, elements similar to those shown in FIG. 1 are given the same Reference Numerals and Letters, and explanation thereof will be omitted.

The embodiment shown in FIG. 3 is such that the operational amplifier 10 has two outputs which are selectively activated so as to switch from the current output transistor Q₁ to the current output transistor Q₂, and vice versa. This embodiment includes another pair of NPN transistors Q₄ and Q₅ having commonly connected bases connected to the output of the operational amplifier 10. A collector of each of the NPN transistors Q₄ and Q₅ is connected to the high voltage Vcc, and emitters of NPN transistors Q₄ and Q₅ are connected to the bases of the PNP transistors Q₁ and Q₂, respectively. In addition, the emitters of NPN transistors Q₄ and Q₅ are connected through a switch SW₂ to a current source I₂, so that either the emitter of NPN transistor Q₄ or the emitter of NPN transistor Q₅ is selected by the switch SW₂ and the selected one is connected to the current source I₂.

A basic operation of the voltage-current conversion in the circuit shown in FIG. 3 is the same as that of the shown in FIG. 1, and therefore, the relation between the input voltage Vin and the output currents I_(O1) and I_(O2) (the collector current of the transistors Q₁ and Q₂) can be expressed by the equations (2) and (3), similarly to the cases shown in FIGS. 1 and 2.

Now, if the switch SW₂ is connected to the emitter of the transistor Q₄, the transistor Q₁ and Q₄ are activated or turned on, and the transistor Q₂ and Q₅ are turned off. Therefore, the conversion current I_(O1) is outputted from the collector of the transistor Q₁. If the switch SW₂ is connected to the emitter of the transistor Q₅, the transistor Q₂ and Q₅ are activated or turned on, and the transistor Q₁ and Q₄ are turned off. Therefore, the conversion current I_(O2) is outputted from the collector of the transistor Q₂.

In the circuit shown in FIG. 3, since the output current load of the operational amplifier 10 is only the base current of the transistor Q₄ or Q₅, an (internal) output stage structure (not shown) of the operational amplifier 10 can be simplified or omitted.

As seen from the detailed description of the embodiments, the voltage-current converting circuit having a output switching function in accordance with the present invention is such that the same transistor functions not only as the output switching transistor but also as the voltage-current converting transistor. Therefore, the number of required elements can be decreased. In addition, since the number of elements through which the output current flows is decreased in comparison with the conventional voltage-current converting circuit, the degree of the voltage-current conversion precision can be elevated in comparison with the conventional one.

The invention has thus been shown and described with reference to the specific embodiments. However, it should be noted that the present invention is in no way limited to the details of the illustrated structures but changes and modifications may be made within the scope of the appended claims. 

I claim:
 1. A voltage-current converting circuit having an output switching function, comprising an operational amplifier having a non-inverting input connected to an input terminal, a resistor having one end connected to a reference potential line and the other end connected to an inverting input of the operational amplifier, first and second transistors of the same conduction type having commonly connected emitters connected to the inverting input of the operational amplifier, and an electronic switch means for alternatively supplying an output of the operational amplifier to either a base of the first transistor or a base of the second transistor so that a base-emitter path of the transistor having the base connected to the output of the operational amplifier through the electronic switch means forms a feedback loop starting from the output of the operational amplifier and returning to the inverting input of the operational amplifier, and a collector of the transistor receiving the output of the operational amplifier through the electronic switch means supplies a current output.
 2. A voltage-current converting circuit claimed in claim 1 wherein the electronic switch means has an input connected to the output of the operational amplifier, a first output connected to the base of the first transistor and a second output connected to the base of the second transistor so that the output of the operational amplifier is alternatively connected either to the base of the first transistor or to the base of the second transistor.
 3. A voltage-current converting circuit having an output switching function, comprising an operational amplifier having a non-inverting input connected to an input terminal, a resistor having one end connected to a reference potential line and the other end connected to an inverting input of the operational amplifier, first and second transistors of the same conduction type having commonly connected emitters connected to the inverting input of the operational amplifier, and an electronic switch means for alternatively supplying an output of the operational amplifier to either a base of the first transistor or a base of the second transistor, so that a collector of the transistor receiving the output of the operational amplifier through the electronic switch means supplies a current output, wherein the electronic switch means is constituted of a constant current source having an input connected to a high voltage and an output connected to the base of the first transistor, a diode having an anode connected to the base of the first transistor and a cathode connected to the output of the operational amplifier, a second resistor connected between the base of the second transistor and the output of the operational amplifier, and a third transistor having an emitter connected to the high voltage, a collector connected to the base of the second transistor and a base connected to receive a control voltage.
 4. A voltage-current converting circuit claimed in claim 3 wherein the first, second and third transistor are of the PNP type.
 5. A voltage-current converting circuit having an output switching function, comprising an operational amplifier having a non-inverting input connected to an input terminal, a resistor having one end connected to a reference potential line and the other connected to an inverting input of the operational amplifier, first and second transistors of the same conduction type having commonly connected emitters connected to the inverting input of the operational amplifier, and an electronic switch means for alternatively supplying an output of the operational amplifier to either a base of the first transistor or a base of the second transistor, so that a collector of the transistor receiving the output of the operational amplifier through the electronic switch means supplies a current output, wherein the electronic switch means includes third and fourth transistors having commonly connected bases connected to the output of the operational amplifier, a collector of each of the third and fourth transistors being connected to a high voltage, and emitters of the third and fourth transistors being connected to the bases of the first and second transistors, respectively, and a second switch for alternatively connecting the emitters of third and fourth transistors to a current source.
 6. A voltage-current converting circuit claimed in claim 5 wherein the first and second transistor are of the PNP type and the third and fourth transistors are of the NPN type.
 7. A voltage-current converting circuit having an output switching function, comprising an operational amplifier having a non-inverting input connected to an input terminal, a resistor having one end connected to a reference potential line and the other end connected to an inverting input of the operational amplifier, first and second transistors of the same conduction type having commonly connected emitters connected to the inverting input of the operational amplifier, third and fourth transistors having commonly connected bases connected to an output of the operational amplifier, a collector of each of the third and fourth transistors being connected to a high voltage, and emitters of the third and fourth transistors being connected to bases of the first and second transistors, respectively, and a switch for alternatively connecting the emitters of third and fourth transistors to a current source, so that a collector of the first or second transistor selected by the switch supplies a current output. 